﻿Imports 地图商家采集系统

Public MustInherit Class CMapFactory
    MustOverride Function CreateMap() As CMap
    Property Map As CMap
End Class
Public Class CBaiDuFactory
    Inherits CMapFactory
    Public Overrides Function CreateMap() As CMap
        Return New CMapBaiDu(Task, UpdateViewOne)
    End Function
    Public Property Task As Model_Task
    Sub New(task As Model_Task)
        Me.Task = task
    End Sub
End Class
Public Class CS360Factory
    Inherits CMapFactory
    Public Overrides Function CreateMap() As CMap
        Return New CMap360(Task, UpdateViewOne)
    End Function
    Public Property Task As Model_Task
    Sub New(task As Model_Task)
        Me.Task = task
    End Sub
End Class
Public Class CGaoDeFactory
    Inherits CMapFactory
    Public Overrides Function CreateMap() As CMap
        Return New CMapGaoDe(Task, UpdateViewOne)
    End Function
    Public Property Task As Model_Task
    Sub New(task As Model_Task)
        Me.Task = task
    End Sub
End Class
Public Class CSougouFactory
    Inherits CMapFactory
    Public Overrides Function CreateMap() As CMap
        Return New CSougou(Task, UpdateViewOne)
    End Function
    Public Property Task As Model_Task
    Sub New(task As Model_Task)
        Me.Task = task
    End Sub
End Class
Public Class CTengXunFactory
    Inherits CMapFactory
    Public Overrides Function CreateMap() As CMap
        Return New CMapTengXun(Task, UpdateViewOne)
    End Function
    Public Property Task As Model_Task
    Sub New(task As Model_Task)
        Me.Task = task
    End Sub
End Class


